package br.ufrn.example;

import br.pucrio.inf.les.genarch.core.annotations.Feature;
import br.pucrio.inf.les.genarch.core.annotations.FeatureType;

@Feature(name = "C", type=FeatureType.mandatory)
public class C {
	
	/** To be added in Target */
	private int cF = 20;
	
	/** It was removed is the target*/
	@Feature(name = "c1", parent="C", type=FeatureType.optional)
	public int c1(int a, int b){
		return a - b;
	}
	
	@Feature(name = "c2", parent="C", type=FeatureType.optional)
	public int c2(){
		
		A a = new A();
		
		/** #Feature(name = "c3", parent="c2", type=FeatureType.optional) */
		return a.a1()*new B().b;
		/** #endFeature */
		
	}
}
